﻿using System;
using System.Collections.Generic;
using System.Text;

namespace lib.type
{
    class Vector3D
    {
        private float x;
        private float y;
        private float z;

        public Vector3D()
        {
            this.x = 0;
            this.y = 0;
            this.z = 0;
        }

        public Vector3D(float x, float y, float z)
        {
            this.x = x;
            this.y = y;
            this.z = z;
        }

        public float getX()
        {
            return this.x;
        }

        public void setX(float x)
        {
            this.x = x;
        }

        public float getY()
        {
            return this.y;
        }

        public void setY(float y)
        {
            this.y = y;
        }

        public float getZ()
        {
            return this.z;
        }

        public void setZ(float z)
        {
            this.z = z;
        }
    }
}
